import fs from "fs"

export default function mkdir(filepath:string) {
  if(!fs.existsSync(filepath)){
    mkdir(filepath.replace(/[/\\][^/\\]*$/,""))
    fs.mkdirSync(filepath)
  }
}